<?php if($error_message==''){ ?>
<div class="title"><span class="title_icon"><img src="images/bullet1.gif" alt="" title="" /></span>Sách <?php echo $arrData['books'][0]['CateName']; ?></div>

<div class="new_products">
<?php foreach($arrData['books'] as $b){ ?>
    <div class="new_prod_box">
        <a href="detail.php?id=<?php echo $b['BookId']; ?>"><?php echo $b['Name'] ?></a>
        <div class="new_prod_bg">
        <a href="detail.php?id=<?php echo $b['BookId']; ?>"><img src="<?php echo $b['ImageUrl'] ?>" alt="" title="" class="thumb" border="0" style="width:60px; height:90px;"/></a>
        </div>           
    </div>
<?php } ?>        
             
        

<div class="pagination">
<span class="disabled"><<</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a>…<a href="#?page=199">10</a><a href="#?page=200">11</a><a href="#?page=2">>></a>
</div>  

</div> 
<?php }else{ ?>
    <div style="margin-left: 15px; color:red; font-weight: bold;"><?php echo $error_message; ?></div>    
<?php } ?>